package com.young.gpg.common.service;

/**
 * @description：
 * @author: yangyahui01
 * @date: 12/4/24 5:13 PM
 */
public interface CommandService {

    String command(String command);

    boolean gpgSignAndEncrypt(String file, String localUser, String recipient, String password);

    boolean gpgDecrypt(String file, String newFile, String passphraseFile);

    boolean string2File(String res, String filePath);

    void startGpg();
}
